package com.casic.ops.entity.dto.pipeline.datastructure.event;

import org.springframework.stereotype.Component;

import java.lang.annotation.*;

/**
 * 事件处理器注解，凡是有这个注解的处理器都会被注册到EventHub
 * @author cww
 * @date 2022/6/17
 */
@Inherited
@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.TYPE})
@Component
public @interface EventHandler {
}
